<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>后台欢迎页</title>

    <link rel="stylesheet" href="__PUBLIC__css/bootstrap.css" />
    <link rel="stylesheet" href="__PUBLIC__css/reset.css" />
    <link rel="stylesheet" href="__PUBLIC__css/content.css" />
    <style>
        td{
            vertical-align :middle;
        }
        body{
            background-color: #EFF3F6;
        }
    </style>
    <script type="text/javascript">
        function confirmd() {
            var msg = "您真的确定要删除吗?";
            if(confirm(msg)==true){
                return true;
            }else{
                return false;
            }
        }
    </script>
</head>
<body marginwidth="0" marginheight="0">
<div class="container">
    <div class="public-nav">您当前的位置：<a href="{:url('admin/Goods/adminIndex')}">管理首页</a>><a href="{:url('admin/Goods/goodsList')}">商品管理</a></div>
    <div class="public-content">
        <div class="public-content-header">
            <h3>查看商品列表<a href="{:url('admin/Goods/goodsAdd')}"><input type="button"  style="float:right;    margin-right: 17px;" value="新增商品数据"></a></h3>
        </div>
        <div class="public-content-cont">
            <table class="public-cont-table">
                <tr>
                    <!--<th style="width:5%">选择</th>-->
                    <th style="width:5%;background-color: #c9dae4">ID</th>
                    <th style="width:5%;background-color: #c9dae4">排序</th>
                    <th style="width:10%;background-color: #c9dae4">商品名称</th>
                    <th style="width:20%;background-color: #c9dae4">商品简介</th>
                    <th style="width:5%;background-color: #c9dae4">商品原现价</th>
                    <th style="width:10%;background-color: #c9dae4">更新时间</th>
                    <th style="width:5%;background-color: #c9dae4">有效期</th>
                    <th style="width:10%;background-color: #c9dae4">点击量</th>

                </tr>
                {volist name="list" id="goods"}
                <tr>
                    <!--<td><input type="checkbox"></td>-->
                    <td>{$goods.Id}</td>
                    <td>{$goods.title}</td>
                    <td>{$goods.description}</td>
                    <td>原价:{$goods.old_price}<br>现价:{$goods.new_price}</td>
                    <td>{$goods.update_time}</td>
                    <td>2016-6-3</td>
                    <td>商品点击量:<i style="color: red">{$goods.goods_hit}</i><br>优惠券点击:<i style="color: red">{$goods.ticket_hit}</i></td>

                </tr>
                {/volist}
                共<span style="color: red">（{$list->total()}）</span>条商品信息
            </table>
            <div class="page">
                {$list->render()}
            </div>
        </div>
    </div>
</div>
</body>
</html>